import request from '@/utils/request'

export function getEmployeeNum() {
    return request({
        url: '/home/workbench/getEmployeeNum',
        method: 'get'
    })
}

export function getApprovalNum() {
    return request({
        url: '/home/workbench/getApprovalNum',
        method: 'get'
    })
}

export function getAssessmentPlanNum() {
    return request({
        url: '/home/workbench/getAssessmentPlanNum',
        method: 'get'
    })
}

export function getAttendanceNum() {
    return request({
        url: '/home/workbench/getAttendanceNum',
        method: 'get'
    })
}

export function getSchedule(data) {
    return request({
        url: '/home/schedule/getSchedule',
        method: 'get',
        data // 传递 { month: 'YYYY-MM' }
    })
}